.layout {
  height: 100vh;
  background: url(../assets/images/login/bg.png);
  background-size: 100% 100%;
  position: relative;
}
.layoutHome {
  height: 100vh;
  background: url(../assets/images/dashboard/home-bg.png);
  background-size: 100% 100%;
  position: relative;
}
.content {
  width: 100%;
  height: calc(100vh - 100px);
  padding: 0 20px 20px 20px;
}

.header {
  height: 100px;
  width: 100%;
  background: url(../assets/images/dashboard/dashboard-header-bg.png);
  background-size: 100% 100%;
  /* 
  .head-title {
    display: inline-block;
    width: 416px;
    position: absolute;
    left: 50%;
    margin-left: -218px;
    text-align: center;
    letter-spacing: 2px;
    line-height: 80px;
    font-size: 17px;
    font-family: Source Han Sans CN;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    h1 {
      color: #fff;
      font-family: fontNameRegular;
    }
  }
  .head-container-tools {
    display: inline-block;
    position: absolute;
    top: 8px;
    right: 40px;
    color: #fff;
    font-size: 14px;
    .item {
      cursor: pointer;
      display: flex;
      img {
        margin-right: 12px;
        width: 18px;
        height: 18px;
      }
      i {
        margin-right: 10px;
        font-size: 18px;
        vertical-align: bottom;
      }
    }
  } */
}

.date {
  line-height: 38px;
  display: inline-block;
  margin-left: 280px;
  color: #65c6e7;
  font-size: 14px;
}

.title {
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  letter-spacing: 2px;
  top: 10px;
  width: 674px;
  height: 52px;
  background: url(../assets/images/dashboard/headerTitle.png) no-repeat;
  background-size: 100% 100%;
}

.tools {
  display: inline-block;
  position: absolute;
  top: 8px;
  right: 270px;
}

.wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 130px;
  position: relative;
}
.wrapper span {
  color: #65c6e7;
}
.out {
  position: absolute;
  /* width: 60px; */
  right: -126px;
  text-align: center;
  cursor: pointer;
}
.cursor {
  cursor: pointer;
}
.user {
  font-size: 14px;
  color: #fff;
}
.userMenu {
  padding: 2px 0 !important;
  margin-right: 130px;
  background: none !important;
  border: 1px solid #068be3 !important;
}
/* :global(.userMenu .ant-dropdown .ant-select-dropdown-menu),
:global(.userMenu .ant-dropdown .ant-dropdown-menu){
  padding: 6px 0 !important;
} */
.homeImg {
  color: #fff;
}
.homeImg img {
  display: inline-block;
  margin-top: -3px;
  margin-right: 5px;
}
.tip_box {
  background: url('../assets/tips.png');
  background-size: 100% 100%;
}
.msgBox {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 388px;
  height: 289px;
  background: url('../assets/tips.png');
  background-size: 100% 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
:global(.cst-icon-close) {
  position: absolute;
  top: 25px;
  right: 19px;
}
:global(.cst-icon-close) svg {
  color: #000 !important;
}

/* menu */
.menuContainer {
  position: fixed;
  left: -94px;
  top: 70px;
  width: 94px;
  height: 807px;
  background: url(../assets/images/dashboard/menuLeft.png) no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  animation-fill-mode: forwards;
}
.menuContainer .homes,
.menuContainer div:nth-child(1) {
  width: 74px;
  height: 138px;
  padding-top: 40px;
  text-align: center;
  cursor: pointer;
  margin-top: 60px;
  margin-left: 4px;
}
.homePic {
  background: url(../assets/images/dashboard/home.png) no-repeat;
  background-size: 100% 100%;
}
.commImg img {
  margin-bottom: 10px;
}
.commSize {
  font-size: 18px;
  color: #fff;
  font-family: Adobe Heiti Std;
  /* font-weight:normal; */
}
.menuContainer .device,
.menuContainer .alarm,
.menuContainer .record {
  width: 78px;
  height: 100px;
  text-align: center;
  padding-top: 10px;
  cursor: pointer;
}
.menuContainer .report {
  width: 74px;
  height: 100px;
  text-align: center;
  padding-top: 10px;
  margin-left: 4px;
  cursor: pointer;
}
.centerPic {
  background: url(../assets/images/dashboard/report.png) no-repeat;
  background-size: 100% 100%;
}
.menuContainer .rz {
  height: 100px;
  cursor: pointer;
}
.menuContainer .set {
  width: 74px;
  height: 148px;
  padding-top: 20px;
  text-align: center;
  margin-left: 4px;
  cursor: pointer;
}
.setPic {
  background: url(../assets/images/dashboard/set.png) no-repeat;
  background-size: 100% 100%;
}
.menuShow {
  position: fixed;
  left: 0;
  top: 135px;
  width: 48px;
  height: 683px;
  background: url(../assets/images/dashboard/menuShow.png) no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  animation-fill-mode: forwards;
}
.menuShow p {
  color: #fff;
  font-size: 18px;
  padding-left: 7px;
}
.menuShow p:nth-child(1) {
  margin-top: 322px;
  margin-bottom: 0;
}
/* 分辨率调整 */
@media screen and (min-width: 1281px) and (max-width: 1366px) {
  .header {
    height: 65px;
    width: 100%;
    margin-bottom: 8px;
  }
  .content {
    height: calc(100vh - 75px);
  }
  .title{
    width: 470px;
    height: 30px;
    left: 49.6%;
  }
  .date {
    margin-left: 185px;
    line-height: 28px;
  }
  .tools {
    right: 208px;
    top: 1px;
  }
  .wrapper {
    /* width: 96px; */
    padding-left: 10px;
  }
  .out {
    right: -112px;
  }
  .menuShow {
    top: 101px;
    width: 35px;
    height: 474px;
  }
  .menuShow p {
    font-size: 16px;
    padding-left: 3px;
  }
  .menuShow p:nth-child(1) {
    margin-top: 212px;
  }
  .menuContainer {
    top: 35px;
    width: 75px;
    height: 570px;
  }
  .homes {
    width: 58px !important;
    height: 85px !important;
    margin-top: 40px !important;
    padding-top: 15px !important;
  }
  .commImg img {
    width: 34px;
    height: 32px;
  }
  .commSize {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .menuContainer .device,
  .menuContainer .alarm,
  .menuContainer .record {
    width: 62px !important;
    height: 78px !important;
    padding-top: 6px !important;
  }
  .menuContainer .report {
    width: 62px !important;
    height: 78px !important;
    margin-left: 0 !important;
    padding-top: 6px;
  }
  .record {
    padding-top: 6px !important;
  }
  .set {
    width: 58px !important;
    height: 90px !important;
    padding-top: 6px !important;
  }
}
@media screen and (min-width: 1367px) and (max-width: 1440px) {
  .header {
    height: 80px;
    width: 100%;
    margin-bottom: 10px;
  }
  .title {
    width: 480px;
    height: 32px;
    left: 49.6%;
  }
  .date {
    margin-left: 185px;
    line-height: 32px;
  }
  .tools {
    right: 208px;
    top: 5px;
  }
  .wrapper {
    width: 96px;
  }
  .out {
    right: -108px;
  }
  .menuShow {
    top: 125px;
    width: 35px;
    height: 540px;
  }
  .menuShow p {
    font-size: 16px;
    padding-left: 3px;
  }
  .menuShow p:nth-child(1) {
    margin-top: 246px;
  }
  .menuContainer {
    top: 56px;
    width: 75px;
    height: 670px;
  }
  .homes {
    width: 58px !important;
    height: 101px !important;
    margin-top: 52px !important;
    padding-top: 25px !important;
  }
  .commImg img {
    width: 34px;
    height: 32px;
  }
  .commSize {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .menuContainer .device,
  .menuContainer .alarm,
  .menuContainer .record {
    width: 62px !important;
    height: 91px !important;
    padding-top: 15px !important;
  }
  .menuContainer .report {
    width: 62px !important;
    height: 91px !important;
    margin-left: 0 !important;
    padding-top: 15px;
  }
  .record {
    padding-top: 6px !important;
  }
  .set {
    width: 58px !important;
    height: 101px !important;
    padding-top: 20px !important;
  }
}
@media screen and (min-width: 1441px) and (max-width: 1679px) {
  .header {
    height: 90px;
    width: 100%;
    margin-bottom: 10px;
  }
  .title {
    width: 500px;
    height: 40px;
    left: 49.6%;
  }
  .date {
    margin-left: 225px;
  }
  .tools {
    right: 208px;
  }
  .wrapper {
    width: 135px;
  }
  .out {
    right: -95px;
  }
  .menuShow {
    top: 101px;
    width: 35px;
    height: 534px;
  }
  .menuShow p {
    font-size: 16px;
    padding-left: 3px;
  }
  .menuShow p:nth-child(1) {
    margin-top: 242px;
  }
  .menuContainer {
    top: 68px;
    width: 75px;
    height: 610px;
  }
  .homes {
    width: 58px !important;
    height: 104px !important;
    margin-top: 40px !important;
    padding-top: 28px !important;
  }
  .commImg img {
    width: 34px;
    height: 32px;
  }
  .commSize {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .menuContainer .device,
  .menuContainer .alarm,
  .menuContainer .record {
    width: 62px !important;
    height: 78px !important;
    padding-top: 6px !important;
  }
  .menuContainer .report {
    width: 62px !important;
    height: 78px !important;
    margin-left: 0 !important;
    padding-top: 6px;
  }
  .record {
    padding-top: 6px !important;
  }
  .set {
    width: 58px !important;
    height: 106px !important;
    padding-top: 15px !important;
  }
}
@media screen and (min-width: 1680px) and (max-width: 1900px) {
  /* .header{
    height:90px;
    width: 100%;
    margin-bottom: 10px;
  } */
  .title {
    width: 600px;
    height: 45px;
    left: 49.6%;
  }
  .date {
    margin-left: 235px;
  }
  .tools {
    right: 208px;
  }
  .wrapper {
    width: 152px;
  }
  .out {
    right: -88px;
  }
  .menuShow {
    top: 101px;
    width: 35px;
    height: 678px;
  }
  .menuShow p {
    font-size: 16px;
    padding-left: 3px;
  }
  .menuShow p:nth-child(1) {
    margin-top: 315px;
  }
  .menuContainer {
    top: 68px;
    width: 85px;
    height: 746px;
  }
  .homes {
    width: 67px !important;
    height: 126px !important;
    margin-top: 48px !important;
    padding-top: 45px !important;
  }
  .commImg img {
    width: 34px;
    height: 32px;
  }
  .commSize {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .menuContainer .device,
  .menuContainer .alarm,
  .menuContainer .record {
    width: 71px !important;
    height: 97px !important;
    padding-top: 20px !important;
  }
  .menuContainer .report {
    width: 71px !important;
    height: 97px !important;
    margin-left: 0 !important;
    padding-top: 20px !important;
  }
  .record {
    padding-top: 6px !important;
  }
  .set {
    width: 67px !important;
    height: 126px !important;
    padding-top: 30px !important;
  }
}
